//
// Created by lihengliu on 2023/2/26.
//

#ifndef JETPACKDEMO_JNI_MAP_UTIL_H
#define JETPACKDEMO_JNI_MAP_UTIL_H
#include <jni.h>
#include <string>

class JNIMapUtil {
public:
    jclass createHashMapClass(JNIEnv *env);
    jobject createHashMapInstance(JNIEnv *env);
    jmethodID createHashMapPutMethod(JNIEnv *env);
    jmethodID createHashMapPutMethod(JNIEnv *env, jclass clazz);
    jmethodID createHashMapGetKeyMethod(JNIEnv *env);
    jmethodID createHashMapGetKeyMethod(JNIEnv *env, jclass clazz);
    jmethodID createHashMapGetValueMethod(JNIEnv *env);
    jmethodID createHashMapGetValueMethod(JNIEnv *env, jclass clazz);
};


#endif //JETPACKDEMO_JNI_MAP_UTIL_H
